package spec.tianjunxiu.unit4.task4_3.chouxiang_final;

public class Horse extends Animal {
    String name;
    public Horse(String name) {
        super(name);
    }

    @Override
    void eat() {
        System.out.println(this.name+"吃草");
   // void rest() {
     //   System.out.println(this.name+"吃草");
    }
}
